package com.wei.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李泽伟
 * @since 2022-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GdGasfee implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 气费id
     */
    @TableId(value = "gasfee_id", type = IdType.INPUT)
    private String gasfeeId;

    /**
     * 上次读数
     */
    private Integer gasfeeLreading;

    /**
     * 本次读数
     */
    private Integer gasfeeTreading;

    /**
     * 总量
     */
    private Integer gasfeeAmount;

    /**
     * 单价
     */
    private Double gasfeePrice;

    /**
     * 应付总额
     */
    private Double gasfeeTotalfee;

    /**
     * 日期
     */
    private String gasfeeDate;

    /**
     * 房产编号
     */
    private String gasfeeForeignkey;

    /**
     * 物业地址
     */
    private String propertyAddress;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
